'use strict';

/**
 * 人脸特征schema
 */
const mongoose = require('mongoose'), Schema = mongoose.Schema;

const faceFeatureSchema = new Schema({
    _id: {type: String},
    features: {type: Schema.Types.Mixed},
    c_id: {type: String}, //创建者
    m_id: {type: String}, //更新者
}, {timestamps: {createdAt: 'c_at', updatedAt: 'm_at'}});

module.exports = mongoose.model('FaceFeatureModel', faceFeatureSchema, "face_feature");
